home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1998 January
/
Macworld (1998-01).dmg
/
Shareware World
/
Utilities
/
Data & Time Management
/
ProMaker-Utils-1.0.2
/
Specifing Options
< prev
Wrap
Text File
|
1997-07-14
|
741b
|
24 lines
// ProMaker follows the conventions used
//by Filemaker for Options
// so you can do all of this:
Comment[“curly quotes”]
Comment["plain quotes"]
Comment[{ or use the more ease to type "parenthesis"}]
// example for more options:
Set Field [“text field”, [“If(Status(CurrentMessageChoice) > 1 , "foo" , "bar")”]
//As an extra possibility you can use the more easy
// to type { and }, like this:
Set Field [{text field}, { If(Status (CurrentMode) = 1 , "A" , "B") } ]
// You can also use plain double quotes if no other quotes
// are present, like this:
Set Field ["text field", "If( 0 > 1 , 3 , 4)"]
// If there are other plain quotes, only the last part is taken:
Set Field ["test field", ", test" & If(test > 1 , ", " , ",") "]